import request from '@/utils/request'
// 获取部门列表
export function getDepartments() {
  return request({
    url: '/company/department'
  })
}
// 获取部门负责人信息
export function getEmployeesPeople() {
  return request({
    url: '/sys/user/simple'
  })
}
// 新增子部门
export function addDepartments(data) {
  return request({
    url: '/company/department',
    method: 'POST',
    data
  })
}
